package com.Dao;

import com.Bean.Department;

import java.util.List;

/**
 * @description:
 * @author: hkw14
 * @time: 2021/5/6 10:05
 */
public class EmployeeDao extends BaseDao{
    public List<Department> getList(){
        String sql = "select * from `department`";
        List<Department> departments = this.selectList(sql, Department.class);
        return departments;
    }
}
